#ifndef SIZEPAGECOMBOX_H
#define SIZEPAGECOMBOX_H

#include <QWidget>
#include <QComboBox>
#include <QPaintEvent>


namespace kepen {
namespace core {

class SizePageCombox : public QWidget
{
    Q_OBJECT
public:
    explicit SizePageCombox(QWidget *parent = nullptr);

    ~SizePageCombox() ;
    void SetSizePageData(int* array, int size);
    int GetSizePage();


protected:
    void paintEvent(QPaintEvent* event) override;

Q_SIGNALS:
    void EachPageItemChanged(int nCount);

private:
    QComboBox* m_pCbx;
    std::vector<int> m_vecPage;
};

}
}

#endif // SIZEPAGECOMBOX_H
